<!--提交周报窗口-->
<!DOCTYPE html>
<html>
	<head>
		<head>
			<meta charset="utf-8">
			<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
			<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
			<title>学生实习报告列表</title>
			<link rel="stylesheet" href="../../css/mui.min.css">
			<!--<link rel="stylesheet" href="../../css/CFNetPP_Base.css">-->
			<link rel="stylesheet" href="../../css/base.css">
		</head>
		<body>
			<div class="base_style_color " id='BarAppearance' style="height: 22px;width: 100%"></div>
			<div class="base_navigation_bar base_style_color base_navigation_item_bar">
				<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
				<span>实习报告</span>
				<a class="base_right_item base_hide_item" href="#"> </a>
			</div>
			<div class=" writeReport"style="margin-top: 65px">
				<ul class="mui-table-view">
					<li class="mui-table-view-cell mui-media">
						<a class="mui-navigate-right" onclick="addNew()"> <img class="mui-media-object mui-pull-left cell_img" src="../../image/icon_jiahao.png">
						<div class="mui-media-body">
							<span class="base_grey font16" id="weekly">添加新实习报告</span>
						</div> </a>
					</li>
				</ul>
			</div>
		</body>
		<script type="text/javascript" src="../../script/jquery.min.js"></script>
		<script type="text/javascript" src="../../script/api.js"></script>
		<script type="text/javascript" src="../../script/requestTool.js"></script>
		<script src="../../script/mui.min.js"></script>
		<script type="text/javascript">
			apiready = function() {
				sendBuriedNotifi('0', '学生端实习报告列表', '096');
				setupSubframe();
			}
			function backClick() {
				sendBuriedNotifi('1', '学生端实习报告列表', '096');
				api.closeWin();
			}
            	function sendBuriedNotifi(busionessid, pagetype, pagetypeid) {
			var userinfo = {
				uid : $api.getStorage('cfnetppuid'),
				jid : $api.getStorage('cfnetppjid'),
				uname : $api.getStorage('cfnetppusername'),
			}
			var data = {
				busionessid : busionessid,
				pagetype : pagetype,
				pagetypeid : pagetypeid,
				sourceurl : api.pageParam.sourceurl,
				sourcetitle : api.pageParam.sourcetitle,
				accesspageurl : window.location.pathname,
				accesspagetitle : document.title,
				userinfo : userinfo
			}
			SendBehaviorTrajectoriesNotifi_Study(data);
		}
			//添加新的实习报告
			function addNew() {
				api.openWin({useWKWebView:true,
					name : 'Student_WritecompletionReport.html',
					url : 'Student_WritecompletionReport.html',
					allowEdit : true,
					pageParam : {
						sourceurl : window.location.pathname,
						sourcetitle : document.title
					}
				});
			}

			function setupSubframe() {
				var y = $('.base_navigation_bar').height() + $('.writeReport').outerHeight() + 22;
				var h = api.winHeight - y;
				api.openFrame({
					name : 'Student_completionReportFrame',
					url : 'Student_completionReportFrame.html',
					rect : {
						x : 0,
						y : y,
						w : 'auto',
						h : h
					},
					pageParam : api.pageParam,
					bounces : false,
					vScrollBarEnabled : true,
					hScrollBarEnabled : false,
					allowEdit : true
				});
			}
		</script>
</html>